<!DOCTYPE html>
<html lang="en">

<head>
  <title>My BCIT Project</title>
  <meta name="comp2800 template" content="My 2800 App">

  <!------------------------>
  <!-- Required meta tags -->
  <!------------------------>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!------------------------------------------>
  <!-- Bootstrap Library CSS JS CDN go here -->
  <!------------------------------------------>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
    integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
    integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
    </script>

  <!-------------------------------------------------------->
  <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
  <!-------------------------------------------------------->
  <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>

  <!-------------------------------------------->
  <!-- Other libraries and styles of your own -->
  <!-------------------------------------------->
  <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
  <link rel="stylesheet" href="./styles/style.css">

<style>
     body{
  background-image:url(./images/mbg3.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;

}
                @font-face {
  font-family: 'Font1';
  src: url('./fonts/Conther-2.ttf') format('TrueType'),  /* 支持现代浏览器 */
       
  /* 可以添加更多字体格式，以提高兼容性 */
}
@font-face {
  font-family: 'Font2';
  src: url('./fonts/SankeiCutePopanime-2.ttf') format('TrueType'),  /* 支持现代浏览器 */
       
  /* 可以添加更多字体格式，以提高兼容性 */
}
@font-face {
  font-family: 'Font3';
  src: url('./fonts/Crystal-Regular-2.ttf') format('TrueType'),  /* 支持现代浏览器 */
       
  /* 可以添加更多字体格式，以提高兼容性 */
}
</style>
</head>

<body>
  <!------------------------------>
  <!-- Your HTML Layout go here -->
  <!------------------------------>
  <nav id="navbarPlaceholder"></nav>

  <!-- our own navbar goes here -->


  <!-- the body of your page goes here -->
  <!-- stuff -->
  <div class="container my-5">
    <div class="position-relative p-5 text-center text-muted bg-body border border-dashed rounded-5">
      <h1 class="text-body-emphasis">
        Hello, <span id="name-goes-here">my friend</span>! </h1>
      <h2>Can you share your food today with your good friends</h2>
      <h1></h1>
      <br><br>
      Your calorie count is:
      </h1>
      <h2> <span id="count-goes-here">0</span> </h2>
      <p class="col-lg-6 mx-auto mb-4">
        Take control, one step at a time.
      </p>

      <button id="makePostButton" onclick="window.location.href='post.html'" class="btn btn-success px-5 mb-5"
        type="button">
        Make a Post
    </div>
  </div>

  <!-- our own footer goes here-->

  <!---------------------------------------------->
  <!-- Your own JavaScript functions go here    -->
  <!---------------------------------------------->
  <script src="./scripts/skeleton.js"></script>
  <!-- <script src="./scripts/script.js"></script> -->
  <script src="./scripts/logout.js"></script>
  <!-- <script>
    logout();
</script> -->
<script>
  // Fade in effect for main content
  document.addEventListener("DOMContentLoaded", function() {
    document.querySelector('.container').style.opacity = '1';
  });

  // Button hover effect
  document.getElementById('makePostButton').addEventListener('mouseover', function() {
    this.classList.add('animate__animated', 'animate__pulse');
  });

  document.getElementById('makePostButton').addEventListener('mouseout', function() {
    this.classList.remove('animate__animated', 'animate__pulse');
  });
</script>
</body>

</html>